import request from "@/utils/request";

// 添加场地
export function AddPlace(data) {
  return request({
    url: "api/Place/AddPlace",
    method: "post",
    data,
  });
}

// 修改场地
export function EditPlace(data) {
  return request({
    url: "api/Place/EditPlace",
    method: "post",
    data,
  });
}

// 删除场地
export function DelPlace(data) {
  return request({
    url: "api/Place/DelPlace",
    method: "post",
    data,
  });
}

// 场地列表
export function GetPlaceList_Page(data) {
  return request({
    url: "api/Place/GetPlaceList_Page",
    method: "post",
    data,
  });
}

// 场地详情
export function GetPlaceDetail(data) {
  return request({
    url: "api/Place/GetPlaceDetail",
    method: "post",
    data,
  });
}
